hantsy
12/28/2023, 2:46 AMsql
will raise an error, when move cursor on it, it will display type mismatched: Required: Publisher out Variable T, but provides SelectConditionStep<RecordX....>, but SelectConditionStep
is a Publisher
.
val sql =dslContext.select(...).from().where() // is a publisher
Flux.from(sql).map {...}.asFlow()
The codes is working.
But due to the IDEA issue, can not get the assistance from IDE.Anton Mefodichev
12/28/2023, 3:33 PMhantsy
12/29/2023, 12:43 AM